//
//  ISqlite.h
//  SqliteTrial
//
//  Created by Aries on 11-7-28.
//  Copyright 2011年 windvoice. All rights reserved.
//  finished at 2011-07-28

#import <Foundation/Foundation.h>
#import "sqlite3.h"


@interface ISqlite : NSObject {
    sqlite3* database;
    NSString* filename;    
}

@property (nonatomic) sqlite3* database;
@property (nonatomic,retain) NSString* filename;

- (id) initWithDatabaseFileName:(NSString*) dbFileName;

- (int) open:(NSString*)filename;

- (int) close;

- (int) executeNonQuery:(NSString*) sqlCommand;

- (NSArray*) executeTable:(NSString*) sqlCommand;

@end
 